<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pyswapdmt: SWAP Device Management Tool (Command line version)</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="panStamp_web.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">pyswapdmt
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">SWAP Device Management Tool (Command line version) </div>  </div>
</div>
<div class="contents">
<div class="textblock"><h2><a class="anchor" id="intro_sec"></a>
Introduction</h2>
<p>SWAPdmt is management tool created to configure and monitor SWAP networks. This tool is entirely based on pyswap, our Python SWAP library. SWAPdmt can be used in different manners:</p>
<ul>
<li>As a network sniffer: SWAPdmt lets you monitor wireless traffic in your SWAP network. This functionality is specially useful when developing new SWAP devices.</li>
<li>As an event monitor: SWAPdmt continuously listens the network and notifies the user about any new event occurred (new mote detected, endpoint value change, etc).</li>
<li>As a configuration tool for wireless motes. SWAPdmt can be used to change network addresses, frequency channels and any custom parameter related to any physical device in the network</li>
</ul>
<h2><a class="anchor" id="requi_sec"></a>
Requirements</h2>
<p>SWAPdmt needs at least Python 2.6 to work. You will also have to configure settings.xml, serial.xml and network.xml before running this tool</p>
<h2><a class="anchor" id="howto_sec"></a>
How to use SWAPdmt</h2>
<p>You can run <em>python pyswapdmt.py -h</em> anytime in order to get a short description about the available working options. In general, you'll maybe want to fully monitor your SWAP network as follows:</p>
<p><em>python pyswapdmt.py --sniff --monitor</em></p>
<p>Or maybe change a mote address given its current address:</p>
<p><em>python pyswapdmt.py -a 25 -n 35</em></p>
<p>Or simply configure every custom parameter defined for a given product type (ex: chronos):</p>
<p><em>python pyswapdmt.py --config --device=chronos</em></p>
<p>Visit our wiki for more information: <a class="el" href="">http://code.google.com/p/panstamp/wiki/SWAPdmt</a></p>
</div></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 9 2011 16:44:48 for pyswapdmt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
